package com.anti.modular.owner.ownerleasebilladjust.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.owner.ownerleasebilladjust.entity.OwnerLeaseBillAdjust;
import com.anti.modular.owner.ownerleasebilladjust.param.OwnerLeaseBillAdjustParam;

import java.util.List;

/**
 * 业主账单表调整表service接口
 *
 * @author anti
 * @date 2021-05-20 14:27:27
 */
public interface OwnerLeaseBillAdjustService{

    /**
    * 根据主键查询实体
    */
    OwnerLeaseBillAdjust getById(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

    OwnerLeaseBillAdjust getByBillId(Long id);

    /**
     * 查询业主账单表调整表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
    PageResult page(PageParam pageParam,OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

    /**
     * 业主账单表调整表列表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
    List<OwnerLeaseBillAdjust> list(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

    /**
     * 添加业主账单表调整表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
    void add(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

    void addEntity(OwnerLeaseBillAdjust OwnerLeaseBillAdjust);

    /**
     * 删除业主账单表调整表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
    void delete(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);


    void deleteSuf(Long leaseId,Long nowBillId);

    /**
     * 编辑业主账单表调整表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
    void edit(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

    /**
     * 查看业主账单表调整表
     *
     * @author anti
     * @date 2021-05-20 14:27:27
     */
     OwnerLeaseBillAdjust detail(OwnerLeaseBillAdjustParam ownerLeaseBillAdjustParam);

}
